package org.dandelion.core.message
{
	import mx.messaging.Consumer;

	public interface IMessageService
	{
		
		/**
		 * 创建一个消息订阅
		 * @param destination String 目标
		 * @param subtopic String 订阅的主题
		 * @param messageHandler Function
		 * return Consumer
		 **/
		function  createConsumer(destination:String,subtopic:String,messageHandler:Function):Consumer;
	}
}